import { OrderStatusEnum } from '@/utils/constants';
import { ProFormColumnsType } from '@ant-design/pro-components';

const columns: ProFormColumnsType<any>[] = [
  {
    title: '订单状态',
    dataIndex: 'status',
    valueType: 'select',
    valueEnum: OrderStatusEnum,
  },
  {
    title: '发货时间',
    dataIndex: 'delivery_at',
    valueType: 'dateTime',
  },
];
export const CreateColumns = columns;
export const UpdateColumns = columns;
